package com.liyang.springcloud.domain;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @BelongsProject: cloud-2024
 * @BelongsPackage: com.liyang.springcloud.domain
 * @Author: liyang
 * @CreateTime: 2024-01-10  11:15
 * @Description: 账户
 * @Version: 1.0
 */
@Data
public class Account {

    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 总额度
     */
    private BigDecimal total;

    /**
     * 已用额度
     */
    private BigDecimal used;

    /**
     * 剩余额度
     */
    private BigDecimal residue;
}
